package com.stone.db.jdbc.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>Created with IntelliJ IDEA. </p>
 * <p>User: Stony </p>
 * <p>Date: 2016/6/27 </p>
 * <p>Time: 18:02 </p>
 * <p>Version: 1.0 </p>
 */
public class DriverRecord implements Serializable {

    private Integer id;
    private String name;
    private Date insertDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getInsertDate() {
        return insertDate;
    }

    public void setInsertDate(Date insertDate) {
        this.insertDate = insertDate;
    }

    @Override
    public String toString() {
        return "DriverRecord{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", insertDate=" + insertDate +
                '}';
    }
}
